<?php /* Smarty version Smarty-3.1.16, created on 2016-11-15 08:44:52
         compiled from ".\application\view\news_add.html" */ ?>
<?php /*%%SmartyHeaderCode:94415828693dc8bb29-85551383%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '72196686f92553b771f951b0c1a2a12e2fbba114' => 
    array (
      0 => '.\\application\\view\\news_add.html',
      1 => 1479199471,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '94415828693dc8bb29-85551383',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.16',
  'unifunc' => 'content_5828693dcde191_71205096',
  'variables' => 
  array (
    'type_arr' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5828693dcde191_71205096')) {function content_5828693dcde191_71205096($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="index.php">首页</a>
            </li>
            <li><a href="#">新闻管理</a></li>
            <li class="active">添加</li>
        </ul>
    </div>
    <div class="page-content">
        <div class="page-header">
            <h1>添加文章</h1>
        </div>
        <div class="row">
            <div class="col-xs-12">
                <!-- PAGE CONTENT BEGINS -->
                <form class="form-horizontal" method="post" action="">
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right" for="name">文章标题</label>
                        <div class="col-sm-10">
                            <input type="text" id="" name="title" placeholder="title" class="col-xs-10 col-sm-8" />
                            <span class="help-inline col-xs-12 col-sm-4">
                                <span class="middle">*必填</span>
                            </span>
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right" for="remark">类型</label>
                        <div class="col-sm-10">
							<select class="col-xs-10 col-sm-5" name="type">
							<option value="0">请选择</option>
							<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['type_arr']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
								<option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['tid'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</option>
							<?php } ?>
							</select>
							<span class="help-inline col-xs-12 col-sm-7">
                                <span class="middle">*必选</span>
                            </span>
	                    </div>
	                </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right" for="order_num">作者</label>
                            <div class="col-sm-10">
                            <input type="text" id="" name="author" class="col-xs-10 col-sm-5" />
                            <span class="help-inline col-xs-12 col-sm-7">
                                <span class="middle">*必填</span>
                            </span>
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right" for="remark">内容</label>
                        <div class="col-sm-10">
                            <textarea class="col-xs-10 col-sm-10 limited" id="" name="content" maxlength="1000"></textarea>
	                    </div>
	                </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right" for="remark">备注</label>
                        <div class="col-sm-10">
                            <textarea class="col-xs-10 col-sm-10 limited" id="remark" name="remark" maxlength="50"></textarea>
	                    </div>
	                </div>
                    <div class="space-8"></div>
                    <div class="form-group">
                        <div class="col-md-offset-3 col-md-9">
                            <button class="btn btn-sm btn-success" type="submit">确定</button>

                            &nbsp; &nbsp; &nbsp;
                            <button class="btn btn-sm btn-default" type="reset">重置
                            </button>
                        </div>
                    </div>
                </form>
                <!-- PAGE CONTENT ENDS -->
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div><!-- /.main-content -->
<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<?php }} ?>
